#ifndef FPSCounter_H_
#define FPSCounter_H_
#include "IRenderable.h"
#include "FontManager.h"

class FPSCounter : public IRenderable
{
private:
	Clock *_mClock;
	unsigned int _mFrameCount;
	int _mFPS;

	Text *_mDisplayText;

public:
	FPSCounter();
	~FPSCounter();	

	int FPS();

	void Render(RenderWindow *);
	void Update();
	bool Load(FontManager *FontLibrary);
};
#endif